Skip to content

Lookup returns mostly provable response - #25

Merged
mhutchinson merged 2 commits into
transparency-dev:mainfrom
mhutchinson:fullLookup
Aug 19, 2025
Merged

Lookup returns mostly provable response#25
mhutchinson merged 2 commits into
transparency-dev:mainfrom
mhutchinson:fullLookup

Conversation

@mhutchinson

Copy link
Copy Markdown
Contributor

The client now:

  • Verifies the output log checkpoint
  • Verifies the output leaf via inclusion proof in the output log
  • Obtains the vindex root hash and hashes the vindex leaf

The missing part is to generate the inclusion proof in the vindex on
Lookup on the server, and then to verify this on the client.

Once this is done, the remaining client work is to support a flag to
actually dereference all pointers into the input log after the last seen
size. This then forms the basis of a re-runnable self-hosted monitor.

The client now:
 - Verifies the output log checkpoint
 - Verifies the output leaf via inclusion proof in the output log
 - Obtains the vindex root hash and hashes the vindex leaf

The missing part is to generate the inclusion proof in the vindex on
Lookup on the server, and then to verify this on the client.

Once this is done, the remaining client work is to support a flag to
actually dereference all pointers into the input log after the last seen
size. This then forms the basis of a re-runnable self-hosted monitor.
Comment thread vindex/cmd/client/client.go Outdated
// that leaf, checkpoint, and generate inclusion proof?

// proof.VerifyInclusion()
fmt.Printf("Indices: %v", idxes)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can/should this be klog.Infof or is it meant to be on stdout and without a newline?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the newline. I think it makes sense for this tool to have some output, though this obviously isn't the final form.

Comment thread vindex/cmd/client/client.go Outdated
Comment thread vindex/cmd/client/client.go
Comment thread vindex/cmd/logandmap/README.md Outdated
Comment thread vindex/cmd/logandmap/README.md Outdated
@mhutchinson
mhutchinson merged commit 154e167 into transparency-dev:main Aug 19, 2025
6 checks passed
@mhutchinson
mhutchinson deleted the fullLookup branch August 19, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants